<?php
class indexModel extends Model{
    public function heroData(){
        $sql = "select * from hero where big_img is not null";
        $data = $this->link->selectByAll($sql);
        return $data;
    }
}